package com.spring.boot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spring.boot.entity.InsurancePolicy;
import com.spring.boot.vo.FindVo;
import com.spring.boot.vo.FindInsurancePolicyListVO;

import java.util.Map;

public interface InsurancePolicyService extends IService<InsurancePolicy> {
    /**
     * @description: 筛选查询保单
     *      * @param String uid
     *      * @return map
     */
    Map<String, Object> findInsurancePolicyListByUid(FindInsurancePolicyListVO findInsurancePolicyListVO);


    /**
     * @description: 被保险人发起理赔
     *      * @param String insurancePolicyUuid
     *      * @return map
     */
    Map<String, Object> updateInsurancePolicyByUuid(String insurancePolicyUuid);

    /**
     * @description: 财务人员进行理赔
     *      * @param String insurancePolicyUuid
     *      * @return map
     */
    Map<String, Object> settlementOfClaims(String insurancePolicyUuid,String money);

    /**
     * @description: 综合查询
     *      * @param String uid
     *      * @return map
     */
    Map<String, Object> getComprehensiveInquiry(FindVo findVo);

}
